<template>
  <v-btn
      append-icon="mdi-close" variant="text"  density="compact"
      @click="confirmEvent()" :disabled="enabledClick"
  >{{ $t('button.common.close') }}
  </v-btn>
</template>
<script setup lang="ts">
const emit = defineEmits<{
  (e: 'click'): boolean
}>()
const enabledClick = ref(false)
const confirmEvent = () => {
  enabledClick.value = true;
  emit('click');
  enabledClick.value = false;

}

</script>